#pragma once
#include "libengine/protobuf/PbFormatData.pb.h"

using namespace onegis::protobuf::model;

class IC_WidgetObject{

public:
	virtual ~IC_WidgetObject() {};

	int getIndex() {return m_iIndex;};
	void setIndex(int iIndex) {m_iIndex = iIndex;}

protected:
	IC_WidgetObject(PbSObject* pObject  = NULL) {
		m_pObject = pObject;
	};

	PbSObject* m_pObject;

private:
	int m_iIndex;
};